/*图片加载失败显示的样式*/
/*1*/
img {
    font-family: 'Helvetica';
    font-weight: 300;
    line-height: 2;
    text-align: center;

    width: 100%;
    height: auto;
    display: block;
    position: relative;

    min-height: 50px;
}

img:before {
    content: " ";
    display: block;

    position: absolute;
    top: -10px;
    left: 0;
    height: calc(100% + 10px);
    width: 100%;
    background-color: rgb(230, 230, 230);
    border: 2px dotted rgb(200, 200, 200);
    border-radius: 5px;
}

img:after {
    content: "\f127" " Broken Image of " attr(alt);
    display: block;
    font-size: 16px;
    font-style: normal;
    font-family: FontAwesome;
    color: rgb(100, 100, 100);

    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    text-align: center;
}

/*2无地址*/
img[src='']{
    background:url(../images/default.png)
}
